package com.xiaoxiang.gateway.api;

import com.xiaoxiang.gateway.annotation.WebFluxFeignClient;
import org.springframework.web.bind.annotation.PostMapping;
import org.springframework.web.bind.annotation.RequestParam;
import reactor.core.publisher.Mono;

/**
 * @author: haha
 * @date: 2022/3/26 21:04
 */
@WebFluxFeignClient("xiaoxiang-auth")
public interface AuthService {

    @PostMapping("/verify")
    Mono<Boolean> verify(@RequestParam("token") String token, @RequestParam("path") String path);
}
